package javaRew;

/**
 * Created by xjweng on 2017/1/17.
 */
public class HelloWolrd {
    public static void main(String [] args){
        System.out.println("HelloWorld");
        //循环测试
        int result = 0,i = 1;
        do {
            result += 1;
            i++;
        }while (i <= 100);
        System.out.println(result);
        //数组测试
        int a[] = new int[5];
        System.out.println(a[1]);
        int[] s;
        s = new int[10];
        for (int j = 0; j < s.length;j++){
            s[j] = 2*j + 1;
        }
        System.out.println(s[8]);

    }
}
